<script setup>
import { ref } from 'vue'

function validate () {
  console.log('validate')
}
const sonNum = ref(999)
defineExpose({ validate, sonNum })
</script>

<template>
  <div class="son-page">我是son子组件</div>
</template>

<style lang="scss" scoped></style>
